package com.dbz.service.Impl;

import com.dbz.dao.WarehouseDao;
import com.dbz.entity.Warehouse;
import com.dbz.service.WarehouseService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class WarehouseServiceImpl implements WarehouseService {
    @Resource
    private WarehouseDao warehouseDao;
    @Override
    public List<Warehouse> selectWarehouse() {
        return warehouseDao.selectList(null);
    }
}
